package com.anolesoft.twelvePlan.service.impl;

import com.anolesoft.twelvePlan.dto.PlanFenXiDTO;
import com.anolesoft.twelvePlan.dto.PlanFenXiJxDTO;
import com.anolesoft.twelvePlan.mapper.PlanFenXiMapper;
import com.anolesoft.twelvePlan.service.PlanFenXiService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zyq
 * @date 2022/7/18
 * 厂级月份计划预分析
 */
@Service
@Slf4j
public class PlanFenXiServiceImpl implements PlanFenXiService {

    @Autowired
    private PlanFenXiMapper planFenXiMapper;

    @Override
    public List<PlanFenXiDTO> queryFenXi(PlanFenXiDTO planFenXiDTO) {
        return this.planFenXiMapper.queryFenXi(planFenXiDTO);
    }

    @Override
    public List<PlanFenXiJxDTO> selectJx(PlanFenXiJxDTO planFenXiJxDTO) {
        return this.planFenXiMapper.selectJx(planFenXiJxDTO);
    }
}
